package com.biaobiaoqi.scoreanalysis.util;

import java.util.HashMap;
import java.util.Map;

public enum Gender {
	MALE {
		@Override
		public String getName() {
			return "男";
		}
	},
	FEMALE {
		@Override
		public String getName() {
			return "女";
		}
	};
    public abstract String getName();  
    
    public  static Map<String, String> getMap() {  
        Map<String, String> maps = new HashMap<String, String>();  
        Gender[] type = Gender.class.getEnumConstants();  
        for (Gender s : type) {  
            maps.put(s.toString(), s.getName());  
        }  
        
        return maps;  
    }  
}
